﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nTribeHR
{
    public enum LeaveStatus
    {
        Pending = 0,
        Rejected = -1,
        Approved = 1
    }

    public class LeaveRequest
    {
        public string MessageToManager { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public double TotalDaysOffWork { get; set; }
        public LeaveStatus Status { get; internal set; }
        public string EmployeeEmail { get; internal set; }
        public string TypeOfTimeOff { get; set; }
        public string EmployeeName { get; set; }
    }
}
